PayloadDuration.fromJson constructor

PayloadDuration.fromJson(
  1. Map map
)

Implementation

factory PayloadDuration.fromJson(Map map) {
  return PayloadDuration(secs: map['secs'], nanos: map['nanos']);
}