getJSONObject method

Map<String, dynamic>? getJSONObject()

Implementation

Map<String, dynamic>? getJSONObject() {
  final json = _json;
  if (type != AttributesType.OBJECT || json == null) {
    return null;
  } else {
    return Map<String, dynamic>.from(jsonDecode(json));
  }
}