mapFromJson static method

Map<String, Pointer?> mapFromJson(
  1. dynamic json
)

Implementation

static Map<String, Pointer?> mapFromJson(dynamic json) {
  final map = <String, Pointer?>{};
  if (json is Map && json.isNotEmpty) {
    json
      .cast<String, dynamic>()
      .forEach((key, dynamic value) => map[key] = Pointer.fromJson(value));
  }
  return map;
}