SourceTypeEps.fromJson constructor

SourceTypeEps.fromJson(
  1. Object? json
)

Implementation

factory SourceTypeEps.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return SourceTypeEps(
    reference: map['reference'] == null ? null : (map['reference'] as String),
    statementDescriptor: map['statement_descriptor'] == null
        ? null
        : (map['statement_descriptor'] as String),
  );
}