convertTo<T> method

T convertTo<T>(
  1. T fromJson(
    1. Map
    )
)

Implementation

T convertTo<T>(T Function(Map) fromJson) => fromJson(data);