AccountRejectOptions.fromJson constructor
AccountRejectOptions.fromJson(
- Object? json
Implementation
factory AccountRejectOptions.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return AccountRejectOptions(
expand: map['expand'] == null
? null
: (map['expand'] as List<Object?>)
.map((el) => (el as String))
.toList(),
reason: (map['reason'] as String),
);
}