toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() => {'name': name, 'ok': ok, 'detail': detail};