Group.fromJson constructor

Group.fromJson(
  1. Map<String, Object?> json
)

Implementation

Group.fromJson(Map<String, Object?> json)
    : key = ((v) => v != null
          ? GroupKey.values.fromString(v as String)!
          : null)(json['key']);