KeyValueLineDto.fromJson constructor

KeyValueLineDto.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory KeyValueLineDto.fromJson(Map<String, dynamic> json) {
  return KeyValueLineDto(
    key: json["key"] as String?,
    value: json["value"] as String?,
    type: decodeLineType(LineTypeEnumMap, json["type"] as String),
    id: json["id"] as String,
    sequenceNumber: json["sequenceNumber"] as int,
  );
}